import {httpGet} from "../../../api/fetch";


export const getCategoryList = (data) => {
    return httpGet('/data/categoryList', data).catch(console.log)
}

export const getCheckInList = (data) => {
    return httpGet('/data/checkInList', data).catch(console.log)
}

export const getPostionList = (data) => {
    return httpGet('/data/postionList', data).catch(console.log)
}

export const getUserList = (data) => {
    return httpGet('/data/userList', data).catch(console.log)
}

export const getUserFriends = (userId) => {
    return httpGet('/data/userFriends', {userId}).catch(console.log)
}

export const getCurrentFreq = (data) => {
    return httpGet('/data/userList', data).catch(console.log)
}
